/**
 * 
 */
package cn.ad.model;

import java.util.List;

/**
 * @author Administrator
 *
 */
public class ResultSetList<E>{
	
	/**
	 * 数据集合总长度， 用于分页记录返回，跟List.size不同
	 */
	private long total_number;
	
	private List<E> list;
	
	public ResultSetList(long total_number, List<E> list) {
		super();
		this.total_number = total_number;
		this.list = list;
	}
	
	public ResultSetList() {
		super();
	}

	/**
	 * @return the total_number
	 */
	public long getTotal_number() {
		return total_number;
	}

	/**
	 * @param total_number the total_number to set
	 */
	public void setTotal_number(long total_number) {
		this.total_number = total_number;
	}

	public List<E> getList() {
		return list;
	}

	public void setList(List<E> list) {
		this.list = list;
	}


}
